Skip to content

Hardware for detecting human presense in project KHUSHERE

Notifications You must be signed in to change notification settings

park-csu/khushere-hardware

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

6 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

khushere-hardware

KHUSHERE is an app dedicated to show traffic of certain places in Kyung Hee University. It can detect how many people are nearby by counting mobile devices'. Since most of university students carry at least one mobile devices, it can provide traffic with ok accuracy.

This system can be used not only for providing whether enclosed space is crowded but preventing accidents like Itaewon Halloween Crowd Crush. You can even use it for controlling lighting and heating to save fossil fuel usage!

It reports MAC addresses and their signal strangth every 60 seconds. Server applies Kalman filter to smooth spikes. It also handles MAC address randomization by filtering patterns of randomized MAC address.

Hardware

This project is based on Raspberry PI 3 B+ and RTL8192eu(Iptime N400UA)

Prerequisites

Installation

tshark is required to capture probe requests.

sudo add-apt-repository -y ppa:wireshark-dev/stable
sudo apt install -y tshark

For security reasons, I strongly recommand to change permissions of tcpdump instead of tshark.

groupadd pcap
usermod -a -G pcap nonrootuser

chgrp pcap /usr/sbin/tcpdump
chmod 750 /usr/sbin/tcpdump

setcap cap_net_raw,cap_net_admin=eip /usr/sbin/tcpdump

This Project uses PDM to manage python dependancies. To install required libraries, use:

pdm install

Monitor Mode

khushere-hardware uses wlan0 as monitoring interface. To enable interface, use the following script

sudo ./enable_monitor

About

Hardware for detecting human presense in project KHUSHERE

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages